<?php
class Tournamentgroup extends AppModel {

	var $name = 'Tournamentgroup';

	var $validate = array(
						'name' => array(
									'rule' => 'notEmpty',
									'message'=>'Nombre del grupo es obligatorio.'
													
								)
						);

	//The Associations below have been created with all possible keys, those that are not needed can be removed
	var $hasMany = array(
		'UserTournament' => array(
			'className' => 'UserTournament',
			'foreignKey' => 'tournamentgroup_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => '',
			'limit' => '',
			'offset' => '',
			'exclusive' => '',
			'finderQuery' => '',
			'counterQuery' => ''
		)
	);

}
?>